<!DOCTYPE html>
<html>
<head> 
<meta charset="UTF-8" />
<title>Insert title here</title>
<script type="text/javascript">
	var abc = "";
	var arr1 = [];
	
	function setCookie(c_name,value,expiredays)
	{
		var exdate=new Date()
		exdate.setDate(exdate.getDate()+expiredays)
		document.cookie=c_name+ "=" +escape(value)+
		((expiredays==null) ? "" : ";expires="+exdate.toGMTString())
	}
	
	setCookie("abc","bbb",1);

</script>
</head>
<body>
aaaa2
<br/>
<a href="bbbb">bbbb</a> 
</body>
</html>